﻿<UserControl
    x:Class="PillBox.Client.Views.ScheduleSelectionChoiceView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignHeight="195" d:DesignWidth="175" d:DataContext="{d:DesignData /SampleData/ScheduleSelectionChoiceViewModelSampleData.xaml}">
    <Grid Height="195" Width="175" HorizontalAlignment="Left">
        <HyperlinkButton
            x:Name="Open" Margin="0,10" Style="{StaticResource Phone_TiltingButtonBase}">
        	<Grid>
        		<Grid.RowDefinitions>
        			<RowDefinition Height="0.29*"/>
        			<RowDefinition Height="0.71*"/>
        		</Grid.RowDefinitions>
        		<Rectangle 
					Fill="{StaticResource PhoneAccentBrush}"  
					StrokeThickness="0" Grid.RowSpan="2"/>
        		<Image 
        			Source="{Binding DisplayImage}" 
        			Stretch="UniformToFill" 
        			Width="175" Margin="0" Grid.Row="1" Height="106"/>
        		<Rectangle 
        			Fill="#33000000" 
        			Margin="0" 
        			StrokeThickness="0" Grid.RowSpan="2"/>
        		<Rectangle 
        			StrokeThickness="0" 
        			Fill="{Binding DisplayColor}"/>
        		<TextBlock
        			Text="{Binding DisplayText}" 
        			HorizontalAlignment="Left" 
        			Foreground="White" 
        			FontFamily="Segoe WP N Semibold" 
        			Margin="12,23,0,9" 
        			FontSize="26.667" d:LayoutOverrides="Height" >
        			<!--<TextBlock.Effect>
        				<DropShadowEffect BlurRadius="2" ShadowDepth="1" Opacity="0.75"/>
        			</TextBlock.Effect>-->
        		</TextBlock>
        	</Grid>
        </HyperlinkButton>
    </Grid>
</UserControl>